﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace QiCheXiaoShouGuanli.WZB
{
    public partial class Dingdanguanli : Form
    {
        public Dingdanguanli()
        {
            InitializeComponent();
        }

        private void Dingdanguanli_Load(object sender, EventArgs e)
        {
            DataTable table = DBHelper.Read("select  DingdanID, DingdanName ,Sex ,Dingdanhaoma ,ShengFen ,ChengShi  from DingDan a join Shengfen b on a.SFid=b.SFid join Chengshi c on a.CHengShiID=c.CHengShiID");
            this.dataGridView1.AutoGenerateColumns = false;
            this.dataGridView1.DataSource = table;
        }
    }
}
